package com.example.movie.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * (TOnline)实体类
 *
 * @author makejava
 * @since 2021-04-02 16:51:07
 */
public class TOnline implements Serializable {
    private static final long serialVersionUID = -96550597870544737L;

    private String onlineId;
    /**
     * 留言人id
     */
    private String uid;
    /**
     * 关联视频id
     */
    private String movieId;
    /**
     * 留言内容
     */
    private String content;
    /**
     * 留言时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date creatime;

    /**
     * 审核
     */
    private Integer isChecked;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getIsChecked() {
        return isChecked;
    }

    public void setIsChecked(Integer isChecked) {
        this.isChecked = isChecked;
    }

    public String getOnlineId() {
        return onlineId;
    }

    public void setOnlineId(String onlineId) {
        this.onlineId = onlineId;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getMovieId() {
        return movieId;
    }

    public void setMovieId(String movieId) {
        this.movieId = movieId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreatime() {
        return creatime;
    }

    public void setCreatime(Date creatime) {
        this.creatime = creatime;
    }

    @Override
    public String toString() {
        return "TOnline {" +
                "onlineId : " + onlineId + ", " +
                "uid : " + uid + ", " +
                "movieId : " + movieId + ", " +
                "content : " + content + ", " +
                "creatime : " + creatime + ", " +
                '}';
    }
}
